# -*- coding: utf-8 -*-
# @Time : 2024/6/13 8:40 PM 
# @Author : Wayne
# @Email : 1
# @File : 数据.py
# @Project : young_python_demo
# @DESCRIPTION :




# 字典

# 数组/列

u8_list1 = [
    {
        "name":"名字 1"
    },
    {
        "name": "名字 2"
    },
    {
        "name": "名字 3"
    }
]
print(u8_list1)
# 给吉客云
jack_list = []
# customer = {}
# [{'customerName': '名字 3'}, {'customerName': '名字 3'}, {'customerName': '名字 3'}]
for i in u8_list1:
    # customerName
    # [{'customerName': '名字 1'}, {'customerName': '名字 2'}, {'customerName': '名字 3'}]
    customer = {}
    # print(i)
    customer.update({"customerName":i.get("name")})
    jack_list.append(customer)


# 1、if 是干嘛的
# 2、数组的长度、字典的长度怎么获取
# 3、字典的 key 和 value 是什么
print(jack_list)

a = "a"

c = a






